home *** CD-ROM | disk | FTP | other *** search
- ;;;;
- ;;;; b l t . s t k -- BLT package initialisation
- ;;;;
- ;;;;
- ;;;; Copyright (C) 1993, 1994 Erick Gallesio - I3S - CNRS / UNSA <eg@unice.fr>
- ;;;;
- ;;;; Permission to use, copy, and/or distribute this software and its
- ;;;; documentation for any purpose and without fee is hereby granted, provided
- ;;;; that both the above copyright notice and this permission notice appear in
- ;;;; all copies and derived works. Fees for distribution or use of this
- ;;;; software or derived works may only be charged with express written
- ;;;; permission of the copyright holder.
- ;;;; This software is provided ``as is'' without express or implied warranty.
- ;;;;
- ;;;;
- ;;;; Author: Erick Gallesio [eg@unice.fr]
- ;;;; Creation date: 26-Jul-1994 10:35
- ;;;; Last file update: 12-Feb-1995 17:07
- ;;;;
-
-
- ;; STk_Blt_Init fails when winfo isn't a tk-command. `winfo` is redefined
- ;; when using STklos (patched by Motoyuki Kawaba)
-
- (define winfo-original #f)
-
- (when (symbol-bound? 'tk:winfo)
- (set! winfo-original winfo)
- (set! winfo tk:winfo))
-
- (if (symbol-bound? '|blt_versions{BLT}|)
- ;; Blt table module is in the core interpreter
- 'blt_static
- ;; Try to load blt table dynamically
- (load "blt.so"))
- (set! winfo winfo-original)
-
- (provide "blt")